package cn.csc.module.shoppingCard.enums;

import cn.csc.framework.common.exception.ErrorCode;

/**
 * @author liuchuang
 * @version 1.0
 * @date 2024/1/3 14:15
 * @modify
 */
public interface ErrorCodeConstants {

    ErrorCode CARD_PROJECT_NOT_EXISTS = new ErrorCode(1005001001, "购物卡项目不存在");
    ErrorCode CARD_PROJECT_TOTAL_NUM_NOT_ALLOW = new ErrorCode(1005001002, "购物卡项目修改后的总张数不能小于原始总张数");
    ErrorCode CARD_PROJECT_EXPIRE_DATE_NOT_ALLOW = new ErrorCode(1005001003, "购物卡项目修改后的有效期不能在原始有效期之前");

    ErrorCode CARD_NOT_EXISTS = new ErrorCode(1005002001, "购物卡不存在");
    ErrorCode CARD_PASSWORD_NOT_MATCH = new ErrorCode(1005002002, "购物卡卡号和密码不匹配");
    ErrorCode CARD_NUMBER_INVALID = new ErrorCode(1005002003, "购物卡卡号无效");
    ErrorCode CARD_HAS_BIND = new ErrorCode(1005002003, "该购物卡已经绑定，无法再绑定");

    ErrorCode CARD_TRANSACTION_NOT_EXISTS = new ErrorCode(1005003001, "交易记录不存在");

    ErrorCode CARD_POINTS_NOT_EXISTS = new ErrorCode(1005004001, "购物卡积分不存在");



}
